package com.pur.zsms.systemsetting.datadictionary.po;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;
import javax.persistence.TableGenerator;

import org.hibernate.annotations.GenericGenerator;

import com.pur.zsms.common.vo.BaseEntity;
@SuppressWarnings("serial")
@Entity
@Table(name="t_code_type")
public class CodeType extends BaseEntity {
	@Id   
	//@GeneratedValue(strategy = GenerationType.SEQUENCE,generator="code_type_seq") 
	//@SequenceGenerator(name="code_type_seq", sequenceName="CODE_TYPE_SEQ") 
	@GeneratedValue(strategy = GenerationType.AUTO)
	/*@TableGenerator(name = "PK_SEQ", 
			 table = "SEQUENCE_TABLE", 
			                pkColumnName  = "SEQUENCE_NAME", 
			                valueColumnName  = "SEQUENCE_COUNT") 
			    @GeneratedValue(strategy =GenerationType.TABLE,generator="PK_SEQ") */
	//@GeneratedValue(generator="system-uuid")  
	//@GenericGenerator(name="system-uuid", strategy = "uuid")
	@Column(name="code_type_id")
	private String codeTypeId;
	
	@Column(name="code_type_name")
	private String codeTypeName;
	
	@Column(name="describ")
	private String describ;


	public String getCodeTypeId() {
		return codeTypeId;
	}

	public void setCodeTypeId(String codeTypeId) {
		this.codeTypeId = codeTypeId;
	}

	public String getCodeTypeName() {
		return codeTypeName;
	}

	public void setCodeTypeName(String codeTypeName) {
		this.codeTypeName = codeTypeName;
	}

	public String getDescrib() {
		return describ;
	}

	public void setDescrib(String describ) {
		this.describ = describ;
	}

	
	

}
